package com.itheima.service.impl;

import com.itheima.service.StudentService;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @Author 王加鑫
 * @Date 2021/7/21 21:05
 * @Since JDK 1.9
 */
public class StudentServiceImpl implements StudentService, InitializingBean, DisposableBean {

    @Override
    public void study() {
        System.out.println("好好学习，天天向上");
    }

    @Override
    public void destroy() throws Exception {

    }

    @Override
    public void afterPropertiesSet() throws Exception {
    }
}
